<?php
class Default_Service_ShipPrice
{
     public static function add($row){
        $obj = new Default_Model_ShipPrice();
        return $obj->add($row);
	}

	public static function update($row,$value,$field='sp_id'){
        $obj = new Default_Model_ShipPrice();
        return $obj->update($row,$value,$field);
	}


	public static function delete($value,$field='sp_id'){
        $obj = new Default_Model_ShipPrice();
        return $obj->delete($value,$field);

	}


	public static function getByValue($value,$field='sp_id'){
        $obj = new Default_Model_ShipPrice();
        return $obj->getByValue($value,$field);
	}

    public static function getByCondition($condition,$type='*',$orderby="",$page=0,$pageSize=0){
        $obj = new Default_Model_ShipPrice();
        return $obj->getByCondition($condition,$type,$orderby,$page,$pageSize);
	}
}